package com.thewaybetter.modules.client.services;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.thewaybetter.modules.client.model.SlimIdea;

@RemoteServiceRelativePath("idea")
public interface IdeaService extends RemoteService {

	SlimIdea save(SlimIdea i);
	List<SlimIdea> getAll();
	List<SlimIdea> getNew(Date now);
	String clearAll();
}
